<?php
namespace app\zhonghang\controller;
use think\Controller;
use think\Db;
use think\Cache;
date_default_timezone_set('Asia/Shanghai');
require_once (APP_PATH . 'api/FinanceApi.php');
class Tibi extends Base {
    //空操作
    public function _initialize(){
        parent::_initialize();
    }
    public function _empty(){
        header("HTTP/1.0 404 Not Found");
        $this->display('Public:404');
    }
    //查询配置
    public function configs(){
    	$list = Db::name('App_config')->select();
    	foreach($list as $key=>$value){
    		$list[$value['key']] = $value['value'];
    	}
    	return $list;
    }

	
    
    
    
    
    
    
	
	
	
	
	
	
	
}